# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ubuntu-archive-keyring
pkgver=2023.11.28.1
pkgrel=0
pkgdesc="GnuPG keys of the Ubuntu Cloud Archive"
url="https://launchpad.net/ubuntu/+source/ubuntu-keyring"
arch="noarch"
license="GPL"
depends="gnupg"
options="!check" # upstream doesn't have a test suite.
subpackages="$pkgname-doc"
source="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/ubuntu-keyring/$pkgver/ubuntu-keyring_$pkgver.tar.xz"
builddir="$srcdir/ubuntu-keyring"

package() {
	install -Dm644 keyrings/* -t "$pkgdir"/usr/share/keyrings/
	install -Dm644 debian/copyright -t "$pkgdir"/usr/share/licenses/$pkgname/
}

sha512sums="
b17824a91d6e25c5658eae8d9ae509a4158b406768d5d4a8e117a230226ab7cd4327cf7e5b9bbb7baae7c66f3807d27926de85a1ea5c11a82684a890aeb8fd18  ubuntu-keyring_2023.11.28.1.tar.xz
"
